package com.qiaofang.applet.service.member.repository;

import com.qiaofang.applet.service.member.domain.MemberOperate;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;


@Repository
public interface MemberOperateRepository extends MongoRepository<MemberOperate, String> {

    MemberOperate findFirstById(String id);

    MemberOperate findByMemberIdAndLinkedUuidAndOperateType(String memberId, String linkedUuid, Integer operateType);
}
